import { defineStore } from 'pinia';

export const useGSettingsStore = defineStore('gSettings', {
	state: () => {
		return {
			"baudRate":9600,
			"dataBits":8,
			"stopBits":1,
			"parity":"None",
			"autoWriteAppend":"无"
		};
	},
	// 也可以这样定义
	actions: {
		
	},
	unistorage: true, // 开启后对 state 的数据读写都将持久化
});